package com.example.mystore.entity;

public class Order {
    private final String customerEmail;
    private final int commodityId;
    private final int commodityNumber;
    private final String consigneeName;
    private final String consigneeAddress;
    private final String consigneePAC;
    private final String consigneePhone;
    private final String consigneeFax;
    private final String cardType;
    private final String carName;
    private final String cardNumber;
    private final String billAddress;
    private final String closingDate;
    private final double taxRate;
    private final double freight;
    private final double price;

    public Order(String customerEmail, int commodityId, int commodityNumber, String consigneeName, String consigneeAddress, String consigneePAC, String consigneePhone, String consigneeFax, String cardType, String carName, String cardNumber, String billAddress, String closingDate, double taxRate, double freight, double price) {
        this.customerEmail = customerEmail;
        this.commodityId = commodityId;
        this.commodityNumber = commodityNumber;
        this.consigneeName = consigneeName;
        this.consigneeAddress = consigneeAddress;
        this.consigneePAC = consigneePAC;
        this.consigneePhone = consigneePhone;
        this.consigneeFax = consigneeFax;
        this.cardType = cardType;
        this.carName = carName;
        this.cardNumber = cardNumber;
        this.billAddress = billAddress;
        this.closingDate = closingDate;
        this.taxRate = taxRate;
        this.freight = freight;
        this.price = price;
    }

    public String getCustomerEmail() {
        return customerEmail;
    }

    public int getCommodityId() {
        return commodityId;
    }

    public int getCommodityNumber() {
        return commodityNumber;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public String getConsigneeAddress() {
        return consigneeAddress;
    }

    public String getConsigneePAC() {
        return consigneePAC;
    }

    public String getConsigneePhone() {
        return consigneePhone;
    }

    public String getConsigneeFax() {
        return consigneeFax;
    }

    public String getCardType() {
        return cardType;
    }

    public String getCarName() {
        return carName;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public String getBillAddress() {
        return billAddress;
    }

    public String getClosingDate() {
        return closingDate;
    }

    public double getTaxRate() {
        return taxRate;
    }

    public double getFreight() {
        return freight;
    }

    public double getPrice() {
        return price;
    }
}